package com.lmhy.test.service;

import com.lmhy.base.commons.IOperations;
import com.lmhy.base.service.AbstractService;
import com.lmhy.test.dao.IUserDao;
import com.lmhy.test.model.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Desc: show
 * User: 罗铭豪野
 * Time: 2014-12-02 16:25
 */
@Service("userService")
public class UserService extends AbstractService<User> implements IUserService {

    @Resource(name="usersDao")
    private IUserDao dao;

    public UserService() {
        super();
    }

    @Override
    protected IOperations<User> getDao() {
        return this.dao;
    }
}
